package com.charles.web;

import com.charles.annotations.SignatureValidation;
import com.charles.config.SignAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author charles
 * @date 2023/5/7 18:50
 */
@RequestMapping
@RestController
public class TestController {

    @PostMapping("/t1")
    @SignatureValidation
    public void t1(@RequestBody Map<String, Object> params) {
        System.out.println("111");
    }

    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());
    }
}
